package com.lesson15.strategy;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/9/18 19:55
 */
public class Client
{
    public static void main(String[] args)
    {
        WildDuck wildDuck = new WildDuck();
        wildDuck.setFlyBehavior(new NoFlyBehavior());
        wildDuck.fly();
    }
}
